﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Gfw.Web.Models.Account
{
    /// <summary>
    /// 现金交易类型
    /// <para>X币</para>
    /// </summary>
    public class UserCashTradeTypeListModel
    {
        public UserCashTradeTypeListModel()
        {

        }

        #region 方法

        public IList<UserCashTradeTypeListModel> GetUserCashTradeTypeList()
        {
            IList<UserCashTradeTypeListModel> list = new List<UserCashTradeTypeListModel>();

            list.Add(new UserCashTradeTypeListModel() { Key = "提现", Value = "ToCash" });
            list.Add(new UserCashTradeTypeListModel() { Key = "转换D币", Value = "TransferOut" });
            list.Add(new UserCashTradeTypeListModel() { Key = "直推奖", Value = "Recommend" });
            list.Add(new UserCashTradeTypeListModel() { Key = "管理奖", Value = "Management" });
            list.Add(new UserCashTradeTypeListModel() { Key = "分红奖", Value = "Dividends" });
            list.Add(new UserCashTradeTypeListModel() { Key = "股票销售收益", Value = "Sell_Stock" });

            return list;
        }

        #endregion

        #region 属性

        [Display(Name = "名称")]
        public string Key { get; set; }

        [Display(Name = "值")]
        public string Value { get; set; }

        #endregion
    }
}
